import service from '@/utils/fetch'

export default {
  prefix: `${service.product}/categorybrandrelation`,
  getList(data) {
    let url = `${this.prefix}/catelog/list`
    return service.get(url, data)
  },
  saveDetail(data) {
    let url = `${this.prefix}/save`
    return service.post(url, data)
  },
  delete(data) {
    let url = `${this.prefix}/delete`
    return service.post(url, data)
  }
}